//
//  BoundingSphere.h
//  EidoTron
//
//  Created by Luca Di Franco on 23/06/11.
//  Copyright 2011 Luca Di Franco. All rights reserved.
//

#ifndef __BOUNDING_SPHERE_H__
#define __BOUNDING_SPHERE_H__

#include "Collider.h"
#include "../Entities/Vertex.h"

class SceneNode;

class BoundingSphere : public Collider {
	
private:
	float		radius;
	
public:
	BoundingSphere(SceneNode* relatedNode);
	~BoundingSphere();
	
	bool checkCollision(Collider* other);
	
protected:
	virtual void renderCollisionSolid();

private:
	bool checkBSCollision(BoundingSphere* other);
	
};

#endif